package eureka.client;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author:RenPu
 * @Date: 2020/8/20 14:48
 * @Version: 1.0
 * @description:
 */

@SpringBootApplication
@EnableDiscoveryClient
public class EurekaClientMain {
    public static void main(String[] args) {
        new SpringApplicationBuilder(EurekaClientMain.class)
                .web(WebApplicationType.SERVLET)
                .run(args);
    }

}
